package com.sua.mybatis.mapper;

import java.util.List;

import com.sua.mybatis.po.UserPO;

public interface UserMapper {
	public UserPO findUserById(int id) throws Exception;
	public List<UserPO> findUserByType(UserPO user) throws Exception;
	public List<UserPO> findUserByName(String name ) throws Exception;
	public void insertUser(UserPO user) throws Exception;
	public void deleteUser(int id) throws Exception;
	public void updateUser(UserPO user) throws Exception;
}
